package com.dayangxiaoen.pms.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @author dayangxiaoen
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("rights_type")
public class RaiType {

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    // 商品 ID
    private Long productId;

    // 黄金会员VIP类型
    private int vipType;

    // 黄金会员兑换 所需积分数量
    private Integer vipScore;

    // 黄金会员兑换 所需价格
    private Double vipPrice;


}
